import React, { PureComponent } from 'react'
import Header from '../../components/Header/Header'
import { reqgetcoupon } from '../../http/api'

export class Coupon extends PureComponent {
  constructor(){
    super()
    this.state = {
      coupon:[]
    }
  }
  componentDidMount(){
    this.getcoupon()
  }
  async getcoupon(){
    let res = await reqgetcoupon()
  }
  render() {
    return (
      <div>
        <Header title="优惠券" back></Header>
      </div>
    )
  }
}

export default Coupon